public class Manager extends Approver {
    public Manager(String name) {
        super(name);
    }
    public String processRequest(PurchaseRequest request) {
        if (request.getAmount() >= 10) {
            this.next.processRequest(request);
        } else {
            return "管理员" + this.name + "审批采购单：" + request.getNumber() + "，金额：" + request.getAmount() + "元，采购目的：" + request.getPurpose() + "。";
        }
    return "Manager处理不了";
    }
}
